

//------------------------------------------------------------//
// Time		|    Action							 | Person	  //
//------------------------------------------------------------//
//05/07/2013|Creation of the class				 |			  //
//			|adding constants		 			 | JP. Do	  //
//19/07/2013|implements constructor method		 |			  //
//------------------------------------------------------------//
//12/07/2013|adding constants 					 | E. Faucher //
//------------------------------------------------------------//



/**
 * Constant
 * -------------------------------------------------------
 * This class containt all the constant in this code.
 * 
 * @author Jean-Paul Do
 *
 */
public final class Constant {
	//ERROR CODE TYPE
	public final static int OK						=  1;
	public final static int ERROR 					= -1;
	public final static int ERROR_MONTH 			= -2;
	public final static int ERROR_HUMIDITY 			= -3;
	public final static int ERROR_WIND 				= -4;
	public final static int ERROR_RAIN 				= -5;
	public final static int ERROR_BURN_SURFACE 		= -6;
	public final static int ERROR_UNKNOWN_VAR 		= -7;
	public final static int ERROR_CELCIUS 			= -8;
	public final static int ERROR_FILE_NOT_FOUND	= -9;
	public final static int ERROR_FILE_WRONG_FORMAT = -10;
	
	//MONTH IN INT
	public final static int JAN =  1;
	public final static int FEB =  2;
	public final static int MAR =  3;
	public final static int APR =  4;
	public final static int MAY =  5;
	public final static int JUN =  6;
	public final static int JUL =  7;
	public final static int AUG =  8;
	public final static int SEP =  9;
	public final static int OCT = 10;
	public final static int NOV = 11;
	public final static int DEC = 12;
	
	//MONTH IN STRING in english
	public final static String JAN_EN = "JAN";
	public final static String FEB_EN = "FEB";
	public final static String MAR_EN = "MAR";
	public final static String APR_EN = "APR";
	public final static String MAY_EN = "MAY";
	public final static String JUN_EN = "JUN";
	public final static String JUL_EN = "JUL";
	public final static String AUG_EN = "AUG";
	public final static String SEP_EN = "SEP";
	public final static String OCT_EN = "OCT";
	public final static String NOV_EN = "NOV";
	public final static String DEC_EN = "DEC";
	
	//MONTH IN STRING in french
	public final static String JAN_FR  = "JANV";
	public final static String FEB_FR  = "FEVR";
	public final static String MAR_FR  = "MARS";
	public final static String APR_FR  = "AVR";
	public final static String MAY_FR  = "MAI";
	public final static String JUN_FR  = "JUIN";
	public final static String JUL1_FR = "JUIL";
	public final static String JUL2_FR = "JUILL";
	public final static String AUG_FR  = "AOUT";
	public final static String SEP_FR  = "SEPT";
	public final static String OCT_FR  = "OCT";
	public final static String NOV_FR  = "NOV";
	public final static String DEC_FR  = "DEC";
	
	//datatype
	public final static int DATATYPE_CELCIUS  = 1;
	public final static int DATATYPE_HUMIDITY = 2;
	public final static int DATATYPE_WIND 	  = 3;
	public final static int DATATYPE_RAIN 	  = 4;
	public final static int DATATYPE_BURN 	  = 5;
	
	
	//Min and Max of TEMP CELCIUS
	public final static double MIN_CELCIUS = 2.2;
	public final static double MAX_CELCIUS = 33.30;

	//Min and Max of Relative Humidity
	public final static double MIN_HUMIDITY = 15.0;
	public final static double MAX_HUMIDITY = 100;

	//Min and Max of wind speed
	public final static double MIN_WIND = 0.40;
	public final static double MAX_WIND = 9.40;

	//Min and Max of rain
	public final static double MIN_RAIN = 0.0;
	public final static double MAX_RAIN = 6.4;

	//Min and Max of burn surface
	public final static double MIN_BURN_SURFACE = 0.00;
	public final static double MAX_BURN_SURFACE = 1090.84;
	
	
	//the K use in nearest neighbour
	public final static int K = 5;
	
	//we dont want to have 1/0 that give us infinite
	public final static double ZERO = 0.0000000000000000001;
	
	// forbiden the call the constructor for this class
	private Constant(){
		throw new AssertionError();
	}
}
